// me-service-provider.js
const util = require('../../utils/util.js')
const app = getApp()

Page({
  data: {
   //服务商信息列表
   servicerInfos:[
      {name:'有一家服务商',img:'images/tmp_img.png',date:'2021-3-27',cash:10086},
      {name:'有一家服务商',img:'images/tmp_img.png',date:'2021-3-27',cash:10086},
      {name:'有一家服务商',img:'images/tmp_img.png',date:'2021-3-27',cash:10086},
      {name:'有一家服务商',img:'images/tmp_img.png',date:'2021-3-27',cash:10086},
      {name:'有一家服务商',img:'images/tmp_img.png',date:'2021-3-27',cash:10086},
      {name:'有一家服务商',img:'images/tmp_img.png',date:'2021-3-27',cash:10086}
   ]
  },
  //选择门店
  select(e){
    var selectedIndex = e.currentTarget.dataset.index;
    var curIndex = 'storeNameLists.cur_index';
    this.setData({
      [curIndex]:selectedIndex
    })
  },
  onLoad() {
   
  },
  
})
